let express =  require('express')
let cors = require('cors')
let app = express()

app.use(express.urlencoded({extended:false}))
app.use(express.json())
app.use(cors())

require('./route')(app)

app.listen('3000',()=> console.log('http://localhost:3000'))